GDL Reference Guide > Expressions and Functions > Functions > String Functions
Written:
DEFINE STYLE "own" "Monaco", 180000 / A_, 0, 0
SET STYLE "own"
string = "abcd"
width = STW (string) / 1000 * A_
n = REQUEST ("Height_of_style", "own", height)
height = height / 1000 * A_
text2 0,0, string
rect2 0,0, width, -height
Correct:
DEFINE STYLE "own" "Monaco", 180000 / A_, 1, 0
...