Michael Clease
28-05-2007, 11:13
I dont get this keyword whats its purpose, whats it doing?
' Usage of the MAX$ Keyword example
' Usage of the MIN$ Keyword example
'
' Written by Abraxas
DIM MyNo1String as string value "What"
DIM MyNo2String as string value "is"
DIM MyNo3String as string value "the"
DIM MyNo4String as string value "Value"
DIM sMsg as string
sMsg += "String 1 " & MyNo1String & $CRLF
sMsg += "String 2 " & MyNo2String & $CRLF
sMsg += "String 3 " & MyNo3String & $CRLF
sMsg += "String 4 " & MyNo4String & $CRLF & $CRLF
smsg += "MAX$ " & MAX$(MyNo1String, MyNo2String, MyNo3String, MyNo4String) & $CRLF
smsg += "MIN$ " & MIN$(MyNo1String, MyNo2String, MyNo3String, MyNo4String) & $CRLF
MsgBox 0, sMsg
' Usage of the MAX$ Keyword example
' Usage of the MIN$ Keyword example
'
' Written by Abraxas
DIM MyNo1String as string value "What"
DIM MyNo2String as string value "is"
DIM MyNo3String as string value "the"
DIM MyNo4String as string value "Value"
DIM sMsg as string
sMsg += "String 1 " & MyNo1String & $CRLF
sMsg += "String 2 " & MyNo2String & $CRLF
sMsg += "String 3 " & MyNo3String & $CRLF
sMsg += "String 4 " & MyNo4String & $CRLF & $CRLF
smsg += "MAX$ " & MAX$(MyNo1String, MyNo2String, MyNo3String, MyNo4String) & $CRLF
smsg += "MIN$ " & MIN$(MyNo1String, MyNo2String, MyNo3String, MyNo4String) & $CRLF
MsgBox 0, sMsg