Character Mode Cookbook: Difference between revisions

m
Added to Character Mode category
m (using source tag)
m (Added to Character Mode category)
 
(3 intermediate revisions by one other user not shown)
Line 37: Line 37:


==Be aware of the difference==
==Be aware of the difference==
<source lang="vdf"
<source lang="vdf">
  Set A of object to B  A=B
  Set A of object to B  A=B
  Get A of object to B  B=A
  Get A of object to B  B=A
Line 46: Line 46:


=Functions and Procedures=
=Functions and Procedures=
<source lang="vdf">>
<source lang="vdf">
  get myFunc of (oObj(current_object)) "tmp" to sAnswer // sAnswer = oObj->myFunc("tmp")
  get myFunc of (oObj(current_object)) "tmp" to sAnswer // sAnswer = oObj->myFunc("tmp")
</source>
</source>
Line 86: Line 86:


=Start "windows/console"=
=Start "windows/console"=
<source lnag="vdf">
<source lang="vdf">
  start_ui      // starts a new console
  start_ui      // starts a new console
  ui_accept      // has a return value
  ui_accept      // has a return value
Line 235: Line 235:
                                                                  
                                                                  
  End_Object
  End_Object
<7source>
</source>


  An object can be of different types
  An object can be of different types
Line 252: Line 252:
[[Category:Basics]]
[[Category:Basics]]
[[Category:Cookbook]]
[[Category:Cookbook]]
[[Category:DataFlex (Character Mode)]]