string $example_window = window
;
string $example_form = formLayout -numberOfDivisions 100
;
string $Ftrust_grp = `floatSliderGrp -l “draai”
-field false
minValue 0.0 -maxValue 10.0
string $Ftrustsel = button -l "SELECT"
;
string $Ftrustkey = button -l "KEY"
;
formLayout -edit
-attachPosition $Ftrust_grp “top” 10
-attachForm $Ftrust_grp “left” 10
-attachNone $Ftrust_grp “bottom”
-attachForm $Ftrust_grp “right” 10
-attachPosition $Ftrustsel “top” 20
-attachForm $Ftrustsel “left” 10
-attachNone $Ftrustsel “bottom”
-attachForm $Ftrustsel “right” 10
-attachPosition $Ftrustkey “top” 30
-attachForm $Ftrustkey “left” 10
-attachNone $Ftrustkey “bottom”
-attachForm $Ftrustkey “right” 10
$example_form;
showWindow $example_window;
gives me the next error?
// Error: string $Ftrustsel = button -l "SELECT"
; //
// Error: Line 6.17: Syntax error //
why?