Applications, Games, Tools, User libs and useful stuff coded in PureBasic
			
		
		
			- 
				
																			 SofT MANiAC
- Enthusiast
  
- Posts: 142
- Joined: Mon Sep 17, 2007 10:28 am
- Location: P.O.P
- 
				Contact:
				
			
						
						
						
			
													
							
						
									
						Post
					
								by SofT MANiAC » 
			
			
			
			
			WOW! Now it works!  
 
   
   
 
Thanks, thanks, thanks!
POiNT.OF.PRESENCE group
						 
		 
				
		
		 
	 
				
			
		
		
			- 
				
								eddy							
- Addict
  
- Posts: 1479
- Joined: Mon May 26, 2003 3:07 pm
- Location: Nantes
						
						
						
			
													
							
						
									
						Post
					
								by eddy » 
			
			
			
			
			eddy wrote:[version v3.2b]
FIXED : saving parameters (v3.2)  
 
 
 
It was my fault I broke my previous version because of only one line.  
 
 
I can continue to add features now  
 
 
btw, what kind of OOP precompiler did you test ?
 win10 x64 5.72 | IDE | PB plugin | Tools | Sprite | JSON | visual tool
win10 x64 5.72 | IDE | PB plugin | Tools | Sprite | JSON | visual tool 
		 
				
		
		 
	 
	
						
		
		
			- 
				
																			 SofT MANiAC
- Enthusiast
  
- Posts: 142
- Joined: Mon Sep 17, 2007 10:28 am
- Location: P.O.P
- 
				Contact:
				
			
						
						
						
			
													
							
						
									
						Post
					
								by SofT MANiAC » 
			
			
			
			
			eddy wrote:btw, what kind of OOP precompiler did you test ?
it's not a precompiler. it's a my class generator based on the macroses
POiNT.OF.PRESENCE group
						 
		 
				
		
		 
	 
	
						
		
		
			- 
				
																			 SofT MANiAC
- Enthusiast
  
- Posts: 142
- Joined: Mon Sep 17, 2007 10:28 am
- Location: P.O.P
- 
				Contact:
				
			
						
						
						
			
													
							
						
									
						Post
					
								by SofT MANiAC » 
			
			
			
			
			Bug:
Code: Select all
ProcedureC Test()
ProcedureReturn 1
EndProcedure
No indentation
POiNT.OF.PRESENCE group
						 
		 
				
		
		 
	 
	
						
		
		
			- 
				
																			 SofT MANiAC
- Enthusiast
  
- Posts: 142
- Joined: Mon Sep 17, 2007 10:28 am
- Location: P.O.P
- 
				Contact:
				
			
						
						
						
			
													
							
						
									
						Post
					
								by SofT MANiAC » 
			
			
			
			
			Another bug:
Code: Select all
Macro MyMacro1(a1, a2)
    Procedure test()
      Protected c
EndMacro
Macro EndMyMacro1
EndProcedure
EndMacro
 and 
EndMyMacro1 - Custom keywords
POiNT.OF.PRESENCE group
						 
		 
				
		
		 
	 
	
						
		
		
			- 
				
								eddy							
- Addict
  
- Posts: 1479
- Joined: Mon May 26, 2003 3:07 pm
- Location: Nantes
						
						
						
			
													
							
						
									
						Post
					
								by eddy » 
			
			
			
			
			sorry the next release will take more time.
Im fighting with scintilla regex for word-spacing.  

 win10 x64 5.72 | IDE | PB plugin | Tools | Sprite | JSON | visual tool
win10 x64 5.72 | IDE | PB plugin | Tools | Sprite | JSON | visual tool 
		 
				
		
		 
	 
	
						
		
		
			- 
				
								eddy							
- Addict
  
- Posts: 1479
- Joined: Mon May 26, 2003 3:07 pm
- Location: Nantes
						
						
						
			
													
							
						
									
						Post
					
								by eddy » 
			
			
			
			
			[version v3.3]
ADDED : format word-spacing
FIXED : ProcedureC indent
Code: Select all
If TEST( 1,2,3 ) = 4
	x =x+ 1/2:START ()		  ;// result		
EndIf

 formatted code
Code: Select all
If TEST(1, 2, 3)=4
	x=x+1/2 : START()		  ;// result		
EndIf
[/code]
 
			
			
									
									 win10 x64 5.72 | IDE | PB plugin | Tools | Sprite | JSON | visual tool
win10 x64 5.72 | IDE | PB plugin | Tools | Sprite | JSON | visual tool 
		 
				
		
		 
	 
	
						
		
		
			- 
				
																			 SofT MANiAC
- Enthusiast
  
- Posts: 142
- Joined: Mon Sep 17, 2007 10:28 am
- Location: P.O.P
- 
				Contact:
				
			
						
						
						
			
													
							
						
									
						Post
					
								by SofT MANiAC » 
			
			
			
			
			eddy wrote:[version v3.3]
ADDED : format word-spacing
good idea! 10x!
To wishlist:
I want to use '( 1,2 ,3) -> (1, 2, 3)' and I don't want to format 'x =  x' to 'x=x' . But all variants -> single option... New tab? 

POiNT.OF.PRESENCE group
						 
		 
				
		
		 
	 
	
						
		
		
			- 
				
																			 Foz
- Addict
  
- Posts: 1359
- Joined: Tue Nov 13, 2007 12:42 pm
- Location: Manchester, UK
						
						
						
			
													
							
						
									
						Post
					
								by Foz » 
			
			
			
			
			This is great! 
 
One thing: the CompilerIf, etc doesn't indent.
Also, I prefer x = y over x=y, could this be an option please?
					Last edited by 
Foz on Mon May 19, 2008 8:26 am, edited 2 times in total.
									
 
		 
				
		
		 
	 
	
						
		
		
			- 
				
																			 inc.
- Enthusiast
  
- Posts: 406
- Joined: Thu May 06, 2004 4:28 pm
- Location: Cologne/GER
						
						
						
			
													
							
						
									
						Post
					
								by inc. » 
			
			
			
			
			SofT MANiAC wrote:eddy wrote:[version v3.3]
ADDED : format word-spacing
good idea! 10x!
 
http://www.purebasic.fr/english/viewtop ... highlight=  
Anyhow, great work eddy. BTW: Do you take use of a lexer like remi meiers one or do you get the token via stringfield()-like commands?
Check out OOP support for PB here! 
						 
		 
				
		
		 
	 
	
						
		
		
			- 
				
								eddy							
- Addict
  
- Posts: 1479
- Joined: Mon May 26, 2003 3:07 pm
- Location: Nantes
						
						
						
			
													
							
						
									
						Post
					
								by eddy » 
			
			
			
			
			I used the scintilla regex function
			
			
									
									 win10 x64 5.72 | IDE | PB plugin | Tools | Sprite | JSON | visual tool
win10 x64 5.72 | IDE | PB plugin | Tools | Sprite | JSON | visual tool 
		 
				
		
		 
	 
	
						
		
		
			- 
				
								Michael Vogel							
- Addict
  
- Posts: 2820
- Joined: Thu Feb 09, 2006 11:27 pm
- 
				Contact:
				
			
						
						
						
			
													
							
						
									
						Post
					
								by Michael Vogel » 
			
			
			
			
			Fatal Error seen 
 
 
Press "Enter" at the end of a source code line and then Alt-Backspace !
Michael
 
		 
				
		
		 
	 
	
						
		
		
			- 
				
																			 SofT MANiAC
- Enthusiast
  
- Posts: 142
- Joined: Mon Sep 17, 2007 10:28 am
- Location: P.O.P
- 
				Contact:
				
			
						
						
						
			
													
							
						
									
						Post
					
								by SofT MANiAC » 
			
			
			
			
			Michael Vogel wrote:Fatal Error seen 
 
 
Press "Enter" at the end of a source code line and then Alt-Backspace !
Michael
 
I dont confirm this error
POiNT.OF.PRESENCE group
						 
		 
				
		
		 
	 
	
						
		
		
			- 
				
								eddy							
- Addict
  
- Posts: 1479
- Joined: Mon May 26, 2003 3:07 pm
- Location: Nantes
						
						
						
			
													
							
						
									
						Post
					
								by eddy » 
			
			
			
			
			I can't reproduce this bug ???
			
			
									
									 win10 x64 5.72 | IDE | PB plugin | Tools | Sprite | JSON | visual tool
win10 x64 5.72 | IDE | PB plugin | Tools | Sprite | JSON | visual tool 
		 
				
		
		 
	 
	
						
		
		
			- 
				
								Michael Vogel							
- Addict
  
- Posts: 2820
- Joined: Thu Feb 09, 2006 11:27 pm
- 
				Contact:
				
			
						
						
						
			
													
							
						
									
						Post
					
								by Michael Vogel » 
			
			
			
			
			eddy wrote:I can't reproduce this bug ???
I pressed the following keys (no spaces) after creating a new source:
a <enter> a <anter> a <enter> <up> <up> <end> <enter> <alt-backspace>
That's it!
But it has only problems, if you have all options 
but Format word-spacing on !
Michael