[Gambas-user] gb3: Format$
Kevin Fishburne
kevinfishburne at ...1887...
Sun Jun 26 01:19:09 CEST 2011
On 06/25/2011 07:05 PM, nando wrote:
> 18:35 is 6:35 pm
> just in 24 hour time
>
I understand that. I just don't understand why a completely different
line is affect by the previous line's Format$. If I comment out the
Format$ lines, the same value is printed on the remaining lines.
Uncommenting the Format$ lines affects the other lines. A function
should just return/print a value and not affect subsequent lines. The
fact that the variable "t" isn't affected but CDate(t) is, is an extra
layer of strangeness.
--
Kevin Fishburne
Eight Virtues
www: http://sales.eightvirtues.com
e-mail: sales at ...1887...
phone: (770) 853-6271
More information about the User
mailing list