<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Quick Start</title><link>https://sourceforge.net/p/fblprj/wiki/Quick%2520Start/</link><description>Recent changes to Quick Start</description><atom:link href="https://sourceforge.net/p/fblprj/wiki/Quick%20Start/feed" rel="self"/><language>en</language><lastBuildDate>Fri, 31 Oct 2014 01:30:30 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/fblprj/wiki/Quick%20Start/feed" rel="self" type="application/rss+xml"/><item><title>Quick Start modified by ACOMPAL</title><link>https://sourceforge.net/p/fblprj/wiki/Quick%2520Start/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v6
+++ v7
@@ -1,14 +1,12 @@
 Quick Start:
 =====================

-1) The thing you must keep in mind(except my bad English):
+The thing you must keep in mind(except my bad English):
 -----------------------------------------------------------------

 FBL is a prefix-style language,that means every picece of codes start with a prefix.The other important thing is: only parentheses can chage the calculate order of a expression.eg: 1+2\*3,the calculate order is first compute 1+2, then multiply with 3.If you want to compute 2\*3 first,you should write like this:1+(2\*3).

 A standyard fbl script shoud looks like this:
-
------------------code begin-----------------------

     //This is a commet.
     //Use '//' to make a commet,same to C++.
@@ -39,44 +37,6 @@
         @eg2:Printf( "Show other words" );  
     }

------------------code end-----------------------
-
-
-2)How to integrate into my C project?
--------------------------------------
-
-step 1: include "fbl.h",and link with the fbl.a(fbl.lib under win).
-step 2: link with fblloader.a, this lib use stdio to accept script files,if you use a special device, you needs to rewrite this lib to your own.
-step 3: Use fblOpen to access a script file,and obtain a fblSrc pointer.Also you needs to pass a callback to this function,we shoud talk about it later.
-step 4:Use fblRun to exec the script,you can pass a string as parameter,such as "root( 10 )",means call function root,the parameter is 10.
-step 5:Use fblClose to free fblSrc.
-
-the call back function which we passed into fblOpen shoud like this:
-
------------------code begin-----------------------
-
-    int FblCallback( fblSrc* pSrc, const char* pCmd )
-    {
-        /*Error proc, the pCmd contend the infomation about the error*/
-        if( pSrc == 0 )
-        {
-            printf( "%s", pCmd );
-            return 0;
-        }
-
-        if( !strcmp( pCmd, "MyFunctionName" ) )
-        {
-            /*Write You C code here, you can use fblPopInt, fblPopPar, fblPopStr,fblPopFloat to pop up parameters*/
-            printf( fblPopStr( pSrc ) );
-            return 1;
-        }
-
-        /*Point out pCmd is invalid,this may trigger a error proc.*/
-        return 0;
-}
-
------------------code end-----------------------
-

 [[members limit=20]]
 [[download_button]]
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">ACOMPAL</dc:creator><pubDate>Fri, 31 Oct 2014 01:30:30 -0000</pubDate><guid>https://sourceforge.netf2931486ec661cfea03a8b8e5e9abb0c0746383a</guid></item><item><title>Quick Start modified by ACOMPAL</title><link>https://sourceforge.net/p/fblprj/wiki/Quick%2520Start/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">ACOMPAL</dc:creator><pubDate>Thu, 30 Oct 2014 16:39:11 -0000</pubDate><guid>https://sourceforge.netc272ebfa39393d961f047641effef26d1d4d6f16</guid></item><item><title>Home modified by ACOMPAL</title><link>https://sourceforge.net/p/fblprj/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v4
+++ v5
@@ -69,14 +69,14 @@
             /*Write You C code here, you can use fblPopInt, fblPopPar, fblPopStr,fblPopFloat to pop up parameters*/
             printf( fblPopStr( pSrc ) );
             return 1;
-    }
+        }

-    /*Point out pCmd is invalid,this may trigger a error proc.*/
-    return 0;
+        /*Point out pCmd is invalid,this may trigger a error proc.*/
+        return 0;
 }

 -----------------code end-----------------------
-}
+

 [[members limit=20]]
 [[download_button]]
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">ACOMPAL</dc:creator><pubDate>Thu, 30 Oct 2014 15:33:11 -0000</pubDate><guid>https://sourceforge.net6e261a086282bd1fbc0822fbd477becaf7527aae</guid></item><item><title>Home modified by ACOMPAL</title><link>https://sourceforge.net/p/fblprj/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v3
+++ v4
@@ -10,34 +10,34 @@

 -----------------code begin-----------------------

-//This is a commet.
-//Use '//' to make a commet,same to C++.
+    //This is a commet.
+    //Use '//' to make a commet,same to C++.

-//Import other fbl script,named it as eg2. Symbol '-' as a perfix means keyword.
--mount( "test/eg2.fbl","eg2");
+    //Import other fbl script,named it as eg2. Symbol '-' as a perfix means keyword.
+    -mount( "test/eg2.fbl","eg2");

-//Import a lib.
--select( "fblstr" );
+    //Import a lib.
+    -select( "fblstr" );

-//Define a function.Symbol '&amp;amp;' as a perfix means function define.
-&amp;amp;LocalPrint( "StrPar" )
-{
-    //Call a function write in your C project.Symbol ':' as a perfix means call function in project.
-    //Note that symble '&amp;amp;' means address here,yes...fbl support fucking pointer.
-    :Printf( &amp;amp;StrPar );
-}
+    //Define a function.Symbol '&amp;amp;' as a perfix means function define.
+    &amp;amp;LocalPrint( "StrPar" )
+    {
+        //Call a function write in your C project.Symbol ':' as a perfix means call function in project.
+        //Note that symble '&amp;amp;' means address here,yes...fbl support fucking pointer.
+        :Printf( &amp;amp;StrPar );
+    }

-&amp;amp;root( "IntPar" )
-{
-    //Equal to C code: int Value[10]; memset( Value, 100, sizeof(int)*10 );
-    -var( "Value", 10, 100 );
+    &amp;amp;root( "IntPar" )
+    {
+        //Equal to C code: int Value[10]; memset( Value, 100, sizeof(int)*10 );
+        -var( "Value", 10, 100 );

-    //Calll a function write in this script.Symbol '@' means call a function in script.
-    @Printf( "Hello world" ); 
+        //Calll a function write in this script.Symbol '@' means call a function in script.
+        @Printf( "Hello world" ); 

-    //Call a function from other fbl script,which we mounted as eg2.
-    @eg2:Printf( "Show other words" );  
-}
+        //Call a function from other fbl script,which we mounted as eg2.
+        @eg2:Printf( "Show other words" );  
+    }

 -----------------code end-----------------------

@@ -55,20 +55,20 @@

 -----------------code begin-----------------------

-int FblCallback( fblSrc* pSrc, const char* pCmd )
-{
-    /*Error proc, the pCmd contend the infomation about the error*/
-    if( pSrc == 0 )
+    int FblCallback( fblSrc* pSrc, const char* pCmd )
     {
-        printf( "%s", pCmd );
-        return 0;
-    }
+        /*Error proc, the pCmd contend the infomation about the error*/
+        if( pSrc == 0 )
+        {
+            printf( "%s", pCmd );
+            return 0;
+        }

-    if( !strcmp( pCmd, "MyFunctionName" ) )
-    {
-        /*Write You C code here, you can use fblPopInt, fblPopPar, fblPopStr,fblPopFloat to pop up parameters*/
-        printf( fblPopStr( pSrc ) );
-        return 1;
+        if( !strcmp( pCmd, "MyFunctionName" ) )
+        {
+            /*Write You C code here, you can use fblPopInt, fblPopPar, fblPopStr,fblPopFloat to pop up parameters*/
+            printf( fblPopStr( pSrc ) );
+            return 1;
     }

     /*Point out pCmd is invalid,this may trigger a error proc.*/
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">ACOMPAL</dc:creator><pubDate>Thu, 30 Oct 2014 15:31:48 -0000</pubDate><guid>https://sourceforge.net6578e20fe8e8b362ea142365004905efd64ea412</guid></item><item><title>Home modified by ACOMPAL</title><link>https://sourceforge.net/p/fblprj/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v2
+++ v3
@@ -1,8 +1,10 @@
 Quick Start:
+=====================

 1) The thing you must keep in mind(except my bad English):
+-----------------------------------------------------------------

-FBL is a prefix-style language,that means every picece of codes start with a prefix.The other important thing is: only parentheses can chage the calculate order of a expression.eg: 1+2*3,the calculate order is first compute 1+2, then multiply with 3.If you want to compute 2*3 first,you should write like this:1+(2*3).
+FBL is a prefix-style language,that means every picece of codes start with a prefix.The other important thing is: only parentheses can chage the calculate order of a expression.eg: 1+2\*3,the calculate order is first compute 1+2, then multiply with 3.If you want to compute 2\*3 first,you should write like this:1+(2\*3).

 A standyard fbl script shoud looks like this:

@@ -20,7 +22,8 @@
 //Define a function.Symbol '&amp;amp;' as a perfix means function define.
 &amp;amp;LocalPrint( "StrPar" )
 {
-     //Call a function write in your C project.Symbol ':' as a perfix means call function in project.
+    //Call a function write in your C project.Symbol ':' as a perfix means call function in project.
+    //Note that symble '&amp;amp;' means address here,yes...fbl support fucking pointer.
     :Printf( &amp;amp;StrPar );
 }

@@ -30,16 +33,18 @@
     -var( "Value", 10, 100 );

     //Calll a function write in this script.Symbol '@' means call a function in script.
-    @Printf( "FBL:Hello world" ); 
+    @Printf( "Hello world" ); 

     //Call a function from other fbl script,which we mounted as eg2.
-    @eg2:Printf( "EG2:Show other words" );  
+    @eg2:Printf( "Show other words" );  
 }

 -----------------code end-----------------------

 2)How to integrate into my C project?
+-------------------------------------
+
 step 1: include "fbl.h",and link with the fbl.a(fbl.lib under win).
 step 2: link with fblloader.a, this lib use stdio to accept script files,if you use a special device, you needs to rewrite this lib to your own.
 step 3: Use fblOpen to access a script file,and obtain a fblSrc pointer.Also you needs to pass a callback to this function,we shoud talk about it later.
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">ACOMPAL</dc:creator><pubDate>Thu, 30 Oct 2014 15:25:08 -0000</pubDate><guid>https://sourceforge.net977eded3b084469e88bd1031c3d3289fecbbbcfa</guid></item><item><title>Home modified by ACOMPAL</title><link>https://sourceforge.net/p/fblprj/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -1,8 +1,77 @@
-Welcome to your wiki!
+Quick Start:

-This is the default page, edit it as you see fit. To add a new page simply reference it within brackets, e.g.: [SamplePage].
+1) The thing you must keep in mind(except my bad English):

-The wiki uses [Markdown](/p/fblprj/wiki/markdown_syntax/) syntax.
+FBL is a prefix-style language,that means every picece of codes start with a prefix.The other important thing is: only parentheses can chage the calculate order of a expression.eg: 1+2*3,the calculate order is first compute 1+2, then multiply with 3.If you want to compute 2*3 first,you should write like this:1+(2*3).
+
+A standyard fbl script shoud looks like this:
+
+-----------------code begin-----------------------
+
+//This is a commet.
+//Use '//' to make a commet,same to C++.
+
+//Import other fbl script,named it as eg2. Symbol '-' as a perfix means keyword.
+-mount( "test/eg2.fbl","eg2");
+
+//Import a lib.
+-select( "fblstr" );
+
+//Define a function.Symbol '&amp;amp;' as a perfix means function define.
+&amp;amp;LocalPrint( "StrPar" )
+{
+     //Call a function write in your C project.Symbol ':' as a perfix means call function in project.
+    :Printf( &amp;amp;StrPar );
+}
+
+&amp;amp;root( "IntPar" )
+{
+    //Equal to C code: int Value[10]; memset( Value, 100, sizeof(int)*10 );
+    -var( "Value", 10, 100 );
+
+    //Calll a function write in this script.Symbol '@' means call a function in script.
+    @Printf( "FBL:Hello world" ); 
+
+    //Call a function from other fbl script,which we mounted as eg2.
+    @eg2:Printf( "EG2:Show other words" );  
+}
+
+-----------------code end-----------------------
+
+
+2)How to integrate into my C project?
+step 1: include "fbl.h",and link with the fbl.a(fbl.lib under win).
+step 2: link with fblloader.a, this lib use stdio to accept script files,if you use a special device, you needs to rewrite this lib to your own.
+step 3: Use fblOpen to access a script file,and obtain a fblSrc pointer.Also you needs to pass a callback to this function,we shoud talk about it later.
+step 4:Use fblRun to exec the script,you can pass a string as parameter,such as "root( 10 )",means call function root,the parameter is 10.
+step 5:Use fblClose to free fblSrc.
+
+the call back function which we passed into fblOpen shoud like this:
+
+-----------------code begin-----------------------
+
+int FblCallback( fblSrc* pSrc, const char* pCmd )
+{
+    /*Error proc, the pCmd contend the infomation about the error*/
+    if( pSrc == 0 )
+    {
+        printf( "%s", pCmd );
+        return 0;
+    }
+
+    if( !strcmp( pCmd, "MyFunctionName" ) )
+    {
+        /*Write You C code here, you can use fblPopInt, fblPopPar, fblPopStr,fblPopFloat to pop up parameters*/
+        printf( fblPopStr( pSrc ) );
+        return 1;
+    }
+
+    /*Point out pCmd is invalid,this may trigger a error proc.*/
+    return 0;
+}
+
+-----------------code end-----------------------
+}

 [[members limit=20]]
 [[download_button]]
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">ACOMPAL</dc:creator><pubDate>Thu, 30 Oct 2014 15:17:50 -0000</pubDate><guid>https://sourceforge.net74f73fa43260e3f71afbf5c445716be6372e6999</guid></item><item><title>Home modified by ACOMPAL</title><link>https://sourceforge.net/p/fblprj/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Welcome to your wiki!&lt;/p&gt;
&lt;p&gt;This is the default page, edit it as you see fit. To add a new page simply reference it within brackets, e.g.: &lt;span&gt;[SamplePage]&lt;/span&gt;.&lt;/p&gt;
&lt;p&gt;The wiki uses &lt;a class="" href="/p/fblprj/wiki/markdown_syntax/"&gt;Markdown&lt;/a&gt; syntax.&lt;/p&gt;
&lt;p&gt;&lt;h6&gt;Project Members:&lt;/h6&gt;
&lt;ul class="md-users-list"&gt;
&lt;li&gt;&lt;a href="/u/awakesoft/"&gt;ACOMPAL&lt;/a&gt; (admin)&lt;/li&gt;
&lt;/ul&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p&gt;&lt;span class="download-button-53537d4981b24b72b737dc70" style="margin-bottom: 1em; display: block;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">ACOMPAL</dc:creator><pubDate>Sun, 20 Apr 2014 07:54:49 -0000</pubDate><guid>https://sourceforge.netd9bcfab7269c5af486965a97d6939d4320c79a53</guid></item></channel></rss>