* * *

Author Topic: New FreePascal Language feature  (Read 1136 times)

lainz

  • Hero Member
  • *****
  • Posts: 1585
  • Nace una flor, todos los días sale el sol...
    • BGRABitmap
Re: New FreePascal Language feature
« Reply #15 on: January 11, 2017, 01:50:37 pm »
No problem. I understand.

Thanks, you're always a step forward. That's good to not let the mistakes pass.

sam707

  • Sr. Member
  • ****
  • Posts: 429
Re: New FreePascal Language feature
« Reply #16 on: January 11, 2017, 11:14:57 pm »
@PsaCrypt

Marcov and howardpc gave you pretty good solutions around what you are looking for.

You can also have a look to an existing Expressions evaluator that is embeded in FreePascal :

http://wiki.freepascal.org/How_To_Use_TFPExpressionParser

it might help
Cheers
« Last Edit: January 11, 2017, 11:16:49 pm by sam707 »
CodeTyphon 5.8, FPC 3.1.1, Emulators = Radio Shack TRS-80, basic, Pascal 80 , Misosys C pro, Turbo Pascal from version 2 to 5 on amtrad cpc6128 CP/M also a bunch of C compilers. Pascal, C, C++ all versions windows/linux. also assembler from Zilog Z-80 to Pentium MMX

bylaardt

  • Full Member
  • ***
  • Posts: 184

marcov

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4996
Re: New FreePascal Language feature
« Reply #18 on: January 13, 2017, 10:31:20 am »
@PsaCrypt

Marcov and howardpc gave you pretty good solutions around what you are looking for.

You can also have a look to an existing Expressions evaluator that is embeded in FreePascal :

The example that I gave is embedded in FPC.

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus