Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Parameters flag in the function do not work
#2
dont use 3 as a defined flag
 Usually flag values are divisible by two (1, 2, 4, 8, 16, ect)
 
Code:
Copy      Help
function str'T S [flag] ;;T text; S countdown; flag style: 2 OC; 4 YNC

MES m

if flag&2
,m.style="OCa"
if flag&4
,m.style="YNCa"

m.default='C'

m.timeout=S

_i=mes(F"{T}" "tip" m)
ret _i


Messages In This Thread
RE: Parameters flag in the function do not work - by Kevin - 01-05-2023, 02:01 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)