ALLYCAD REFERENCE - AllYCAD - #651

/ 838


catalogue search
P. 651
P. 652
P. 653
P. 654
P. 655
P. 656
P. 657
P. 658
P. 659
P. 660
P. 661
P. 662
P. 663
P. 664
P. 665
P. 666
P. 667
P. 668
P. 669
P. 670
P. 671
P. 672
P. 673
P. 674
P. 675
P. 676
P. 677
P. 678
P. 679
P. 680
P. 681
P. 682
P. 683
P. 684
P. 685
P. 686
P. 687
P. 688
P. 689
P. 690
P. 691
P. 692
P. 693
P. 694
P. 695
P. 696
P. 697
P. 698
P. 699
P. 700


See other catalogues for AllYCAD

Text version of the page
String Functions
VAL$
a$=VAL$(n,width,ndecimal)
Converts the number n to a string, a$, with a given maximum width (width) and a specified number of decimals (ndecimal).
Example:
a$=val$(3.14,6,2)
a$ will be " 3.14". There are a total of six characters - two spaces in front of the 3; 3,., 1 and 4. Two of these characters are after the decimal point.
JOIN
a$=JOlN$(b$,c$) Joins together strings b$ and c$ to form string a$. Example:
b$ = "hello "
c$ = "world"
a$ = JOlN$(b$, c$) a$ will be "hello world".
SUBSTR$
a$=SUBSTR$(b$,startpos,endpos)
Extracts a substring from string b$. Startpos is the start position of the substring you want to extract and endpos is the end position.
Example:
a$=substr$("hello world",6,l0)
a$ will be "world", because the start position is character 6 (w) and the end position is character 10 (d). Characters are numbered from 0 upwards.
17-23
Macros

pageCatalog pdf di En 2012-05-21-27