Before I submit the very simple code that throws exceptions almost everywhere (very discouraging) I would like to ask if you have online/offline documentation of the implemented commands? Lack of documentation + lack of proper intellisense (+ no access to definitions) causes lots of pain and sadness
So, here is the code. I put comments where it run ok and where it throws an exception.
Code: Select all
***********************************
FUNCTION Start() AS VOID STRICT
***********************************
? "Hello World! Today is ",Today()
use c:work_temp && --> exception, can't recognize a field (Field 'DAYSCMPL' is not valid)
use C:meter in 0 && OK
use C:compinfo in 0 && OK
select compinfo.compid, compinfo.comp_desc from compinfo join meter on compinfo.compid = meter.compid into cursor cm && --> exception, doesn't recognize this select as valid command
select cm
scan
? transform(compid) && --> exception, transform should have second param(why?)
endscan
WAIT
RETURN
ENDFUNC
Dimitar