Frequently Asked Questions

Aug 23, 2026 - 07:41pm

 [F] Frequently Asked Questions  / Operational Questions  / Macros and Templates  / WCTL  /

How do I cast data types in WCTL?

Rate This FAQ
 (Not yet rated)

Created On: 17 Nov 1998 10:45 am
Last Edited: 22 Oct 1999 12:28 pm

Question Printer Friendly

WCTL isn't a strongly typed language and casting types is generally done automatically. However, in some instances it is necessary to cast a string to a numeric value or vice versa.

Answer

You can force conversion to integer with:

   var+0

You can force conversion to string with:

   "" & var