Page 2 of 2

Posted: Wed Jan 31, 2007 5:32 pm
by remi_meier
I really hate to do the work for you :!:
http://www.purebasic.fr/english/viewtop ... +functions
http://www.purebasic.fr/english/viewtop ... procedures
http://www.purebasic.fr/english/viewtop ... executable

and there never was an update mentioned about this 'issue', so it should
still be valid for PB4.02

Posted: Wed Jan 31, 2007 6:05 pm
by dige
Ok, one example for testing:

Code: Select all

Procedure NoUse1()
  txt.s = "Procedure NoUse1()"
  InitEngine3D()
EndProcedure
Procedure NoUse2()
  txt.s = "Procedure NoUse2()"
  NoUse1()
  UseJPEGImageDecoder()
EndProcedure
Procedure NoUse3()
  InitSound()
  a = $11223344
  b = $66778899
  a + b
  txt.s = "Procedure NoUse3()"
  NoUse2()
EndProcedure
Procedure InUse()
  txt.s = "Procedure InUse()"
EndProcedure
InUse()
Compiled with PB4.02 : 47.104 Bytes

pbAnalyzer Code:

Code: Select all

;- Created with pbAnalyzer v1.1 by DiGe
;{ Structures
;}
;{ Declares
Declare InUse (  ) 
;}
;{ Functions
Procedure InUse()
txt.s = "Procedure InUse()"
EndProcedure
InUse()
;}
Compiled with PB4.02 : 2.048 Bytes

:roll: