%var [ $+ %var2 ] ... ?! - 23/08/03 12:20 PM
Hi there
Whats wrong with this code?!
on INPUT / TEXT ===> !opt1aAAA
===============
%opt1a = test (<- this line only to test code)
echo @Status 10 $+ GET -> opt1a = %opt1a
if ( $left( %info , 4 ) == !opt ) {
%temp1 = $mid( %info , 5 , 2 )
%temp2 = $mid( %info , 7 )
%opt [ $+ %temp1 ] = %temp2
echo @Status 10 $+ SET -> opt $+ %temp1 = %opt [ $+ %temp1 ]
}
echo @Status 10 $+ GET -> opt1a = %opt1a
===============
===============
GET -> opt1a = test
SET -> opt1a = AAA
GET -> opt1a = test
===============
Whats wrong with this code?!
on INPUT / TEXT ===> !opt1aAAA
===============
%opt1a = test (<- this line only to test code)
echo @Status 10 $+ GET -> opt1a = %opt1a
if ( $left( %info , 4 ) == !opt ) {
%temp1 = $mid( %info , 5 , 2 )
%temp2 = $mid( %info , 7 )
%opt [ $+ %temp1 ] = %temp2
echo @Status 10 $+ SET -> opt $+ %temp1 = %opt [ $+ %temp1 ]
}
echo @Status 10 $+ GET -> opt1a = %opt1a
===============
===============
GET -> opt1a = test
SET -> opt1a = AAA
GET -> opt1a = test
===============