Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Parameters flag in the function do not work
#1
Hi,

I defined a function mes2 but the flag 2 doesn't work

mes2 "hello" 3 2

[Image: 1673138759]


Function mes2
Code:
Copy      Help
function str'T S [flag] ;;T text; S countdown; flag style: 2 OC; 3 YNC

MES m

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

m.default='C'

m.timeout=S

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


Messages In This Thread
Parameters flag in the function do not work - by Davider - 01-05-2023, 12:36 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)