Difference between revisions of "VS:OLDMassStrToReal"

From Vectorworks Developer
Jump to: navigation, search
m (1 revision)
 
Line 6: Line 6:
 
-----------------------------------------------------------------------------------------------------------
 
-----------------------------------------------------------------------------------------------------------
 
<desc>
 
<desc>
Converts mass string to real number and returns TURE on success.</desc>
+
Converts mass string to real number in grams and returns TURE on success. If no unit mark is specified, string is assumed in document units.</desc>
  
 
-----------------------------------------------------------------------------------------------------------
 
-----------------------------------------------------------------------------------------------------------

Latest revision as of 15:54, 3 December 2018

.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix

Description

Converts mass string to real number in grams and returns TURE on success. If no unit mark is specified, string is assumed in document units.
FUNCTION OLDMassStrToReal(
massString  :STRING;
VAR realValue  :REAL) : BOOLEAN;
def vs.OLDMassStrToReal(massString):
    return (BOOLEAN, realValue)

Parameters

massString STRING
realValue REAL

Version

Availability: from Vectorworks 2018
Personal tools
NamespacesFFFF

Variants
Actions
Advanced Search
See Also
Navigation
Toolbox