FoxPro as a newbie (but an old hand on the clipper), I understand the loss is a bit lower How to return an array from the OLEPUBLIC class Edit : I have modified the code bell to keep the comments below in mind. I
defined class DB AS Custom Optional Damienian Ada (1) & amp; For the return later, SET Multilocks (cpName) on the use of public scope functions opendb (cpName) is the only NOUPDATE = CURSORSETPROP ("buffering", 5) return ALIAS () ENDFUNC & amp; Etc. FUNCTION getrecord (sAlias, nRecno) SELECT (sAlias) GOTO (nRecno) fc = FCOUNT () DIMENSION this.ada (FC) i = 1 for FC stall curve (field (i)) THIS.ada (i) ENDFOR Return @ THIS.ada ENDFUNC ENDDEFINE
Looking at the following bit of VBScript, I can open the file. What I can not seem to get is to get anything back useful than an error message. This error message is: < P> c: \ Temp \ foo.vbs (3, 1) sloop.db sloop.db: .getrecord p: \ test \ sloop \ sloop.prg Error syntax error in line1.200
Line 41, as it turns out,
returns @ THIS.ada
which is really strange because Is there any clue that Microsoft has suggested?
Try 'return @ada' But VFP arrays have never spoken with other languages. Not played well.
Comments
Post a Comment