Recent

Author Topic: Error in conditionals - Lazarus 1.8.0 Win32  (Read 10444 times)

rvk

  • Hero Member
  • *****
  • Posts: 6111
Re: Error in conditionals - Lazarus 1.8.0 Win32
« Reply #30 on: February 21, 2018, 02:36:39 pm »
Quote from: Thaddy
Today I became $111100
Happy &74th birthday Thaddy  8-)

(isn't $111100 actually 1.118.464? That's really old  :'( I'm sure you meant %111100 :-X)

Bart

  • Hero Member
  • *****
  • Posts: 5275
    • Bart en Mariska's Webstek
Re: Error in conditionals - Lazarus 1.8.0 Win32
« Reply #31 on: February 21, 2018, 05:17:34 pm »
(isn't $111100 actually 1.118.464? That's really old

After all he is a grumpy old man  (just like me) O:-)

Bart

Thaddy

  • Hero Member
  • *****
  • Posts: 14204
  • Probably until I exterminate Putin.
Re: Error in conditionals - Lazarus 1.8.0 Win32
« Reply #32 on: February 21, 2018, 05:34:00 pm »
The wine is too good... still a Duck to go! Tnx...
Code: Pascal  [Select][+][-]
  1. const ta = %1111 shl 2;
  2. begin
  3. writeln(ta);
  4. end.
« Last Edit: February 21, 2018, 05:42:45 pm by Thaddy »
Specialize a type, not a var.

PsaCrypt

  • New Member
  • *
  • Posts: 21
Re: Error in conditionals - Lazarus 1.8.0 Win32
« Reply #33 on: February 22, 2018, 01:40:23 pm »
Thank you Rvk, Integer(Variant) solves the problem.  Still need to learn many of Pascal language (I love xBase).  In first instance I need to convert all my functions, after I think in other resources.

 

TinyPortal © 2005-2018