General information
Category:
Coding, syntax & commands
Malcolm,
just a note to remind that RELEASE does not necessarily release what it is told to release. This is applicable to objects with "dangling references".
Also I don't see FILETOSTR() in you list.
Cheers
>Sergey,
>
>Thought I had snagged them all, but your suggestion for 'Do form ... name VAR' is one I missed.
>
>I'm not sure I understand your suggestion for 'Report form ... name VAR'. I just reviewed the VFP7 help and it doesn't look like this command actually creates or modifies the specified variable.
>
>Thanks for your feedback!
>
>Regards,
>Malcolm
>
>>DO FORM ... NAME ...
>>REPORT FORM ... NAME
>>
>>>This email updates my orignal email's list of commands by adding the following commands: Lparameters, Parameters, Function, and Procedure.
>>>
>>>Here is my short list of VFP commands/syntax that create, release or potentially update variables. Note that in the following list, VAR is used to describe simple, scalar variables, arrays, or objects. I recognize that my grouping of commands into contemporary and deprecated (commands that we should no longer use) is highly subjective.
>>>
>>>Contemporary commands:
>>>- Assignment statements: VAR = expression
>>>- Average|Calculate|Count|Sum expression [, expression ... ] to VAR [, VAR ... ]
>>>- Copy to array VAR ...
>>>- Do myfun with VAR [, VAR ... ] // forces variables to be passed by reference
>>>- Explict passing of variables by reference: myfun( @VAR [, @VAR ... ] )
>>>- Function myfun( VAR [, VAR ... ] )
>>>- For [ VAR = ... | each VAR in ]
>>>- Lparameters VAR [, VAR ... ]
>>>- Paramaters VAR [, VAR ... ]
>>>- Procedure myfun( VAR [, VAR ... ] )
>>>- Public|Local|Dimension VAR [, VAR... ]
>>>- Scatter [ memvar | to VAR| name VAR ]
>>>- Select ... into array VAR
>>>- Set textmerge to VAR memvar // new in VFP7!
>>>- Store expression to VAR [, VAR ... ]
>>>
>>>Deprecated commands:
>>>- @ ... get VAR
>>>- Accept ... to VAR
>>>- Clear memory
>>>- Declare VAR [, VAR ... ] // Dimension is the 'prefered' syntax
>>>- Private VAR [, VAR ... ] // does not create vars, but hides visibility
>>>- Release [ like pattern | except pattern ]
>>>- Restore from ... [additive]
>>>- Set Udfparms to reference // Udfparms 'should' be set to value
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only