It is currently Tue Oct 27, 2020 4:22 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 32 posts ]  Go to page Previous  1, 2, 3
Author Message
 Post subject: Re: [IDE Tool] pbOptimizer
PostPosted: Wed Jul 15, 2020 3:47 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Sat May 05, 2007 5:31 pm
Posts: 767
Location: Linz, Austria
camille wrote:
That's the beginning of the "Large text file creator_pbOpt.pb" file.

With line 3 "#PB_Compiler_IsIncludeFile = #True" which pbOptimizer is complaining about
The PB-IDE is also complaining about this line... Not the fault of pbOptimizer ;)


[include.pb]
Code:
Procedure Multiply(a, b)
  ProcedureReturn a * b
EndProcedure

CompilerIf #PB_Compiler_IsIncludeFile
 
  Debug "include file: " + #PB_Compiler_Filename
 
CompilerElseIf #PB_Compiler_IsMainFile
 
  Debug "main file: " + #PB_Compiler_Filename
  Debug Multiply(13, 37)
 
CompilerEndIf
[main.pb]
Code:
XIncludeFile "include.pb"

Debug Multiply(13, 37)
Run both files and you'll see the difference

_________________
Et cetera is my worst enemy


Top
 Profile  
Reply with quote  
 Post subject: Re: [IDE Tool] pbOptimizer
PostPosted: Thu Jul 16, 2020 10:49 am 
Offline
User
User

Joined: Tue Nov 19, 2019 12:52 pm
Posts: 48
Thank you both firace + chi!

I've removed these statements and now pbOptimizer is working fine :)


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 32 posts ]  Go to page Previous  1, 2, 3

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye