Typecasting

From Flowcode Help
Revision as of 14:12, 10 March 2014 by BenR (talk | contribs) (Created page with "Typecasting is a way of specifying what we want in terms of the assignment and the values passed to the assignment. Typecast operators: *string *float For example if we ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Typecasting is a way of specifying what we want in terms of the assignment and the values passed to the assignment.


Typecast operators:


  • string
  • float


For example if we want to display a numeric variable as an ASCII string then we can use the "string" typecast.


StringVar = string NumericVar


This can be taken further and used on results of calculations etc.


StringVar = string (NumericVar * 5)