Ariane Soft PPL2 Pocket Programming DataMite

Go Back   ArianeSoft Forums > PPL - Pocket Programming Language > Made with PPL

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 08-07-2007, 09:01 PM
Kevin Johnson Kevin Johnson is offline
Member
 
Join Date: Jul 2007
Posts: 35
Default Chinese Flashcards 1.0 (Study Chinese Characters)

This is a program that i just finished porting to PPL. It's very good for studying chinese characters on the go, or if your stuck on a train or plane and have nothing better to do than to listen to some music and study.

Here are the functions of my flashcard program:

1. load any flashcard datafile (CSV format)
2. display the number of flashcards before the study session starts
3. keep track of correct and incorrect answers
4. display the final score at the end of the study sessioin

Things left to do:
1. Optionaly save the wrong answers to a new datafile so that only the wrong answers may be studied in a future study session
2. Make sure the text is centered in the textboxes (makes it look more professional)
3. Integrate a Flashcard Datafile editor/creator into the main application
4. Take requests to add more functions ^.^[br][file=../../e107_files/public/1186516871_556_FT0_chinese_flashcards.zip]1186516871_556_FT0_chinese_flashcards.zip[/file]
Reply With Quote
  #2  
Old 08-07-2007, 09:46 PM
kornalius
Guest
 
Posts: n/a
Default

Thank you for sharing Kevin. I wish I had time to learn chinese!
Reply With Quote
  #3  
Old 08-08-2007, 05:37 AM
Kevin Johnson Kevin Johnson is offline
Member
 
Join Date: Jul 2007
Posts: 35
Default

No problem. Thanks for all the help
I think that by the time i finish off this project, and port a couple other programs of mine to PLL, i'll be fairly proficient at using PLL. Each time i learn something new.
Reply With Quote
  #4  
Old 08-09-2007, 05:54 AM
PointOfLight PointOfLight is offline
Senior Member
 
Join Date: Sep 2006
Posts: 1,197
Default

HTML Code:
 I tried running this, but I got an Access Violation error on RunFileEx.* I take it you're calling another PPL program within this one?
Reply With Quote
  #5  
Old 08-09-2007, 05:29 PM
Kevin Johnson Kevin Johnson is offline
Member
 
Join Date: Jul 2007
Posts: 35
Default

It shouldn't be.....
i compressed the same files that i used to run on my PC. The PPC file was compile for the windows platform, so if you try to run on WM, maybe it will give you an error. I included my source though. It's the Autorun.pll file.
I haven't encountered any bugs in the program like that so far. Though i have found that if the program tries to parse a datafile that has non-standard characters in it, that the OS doesn't know how to handle. It will lock up the program. However, i think this has to do with how the StringToList$ function works.
I noticed that when i corrected the non-standard characters with a text editor on my mobile phone, and then saved it as Unicode text, then there aren't any problems loading the file. Oddly enough, if i save the file as a unicode file from a PC, then it still doesn't work. Strange....
The easiest solution to this would be to write a datafile creation tool that runs on my phone. This will be the next step in my project's development. I'm planning to integrate the flashcard program and the datafile creation tool into the same application. That should fix the problems that i'm having so far.
Reply With Quote
  #6  
Old 08-09-2007, 07:39 PM
PointOfLight PointOfLight is offline
Senior Member
 
Join Date: Sep 2006
Posts: 1,197
Default

HTML Code:
 Is the autorun.ppl supposed to be in the .zip file that's attached to this thread?  All that's in that file is a .ppc file, and I can't get it to run on either the PC or PPC (I have PPL fully installed on both machines).

[Edit]

What should happen when I run the application?* Will I get a dialog prompting me for a flash card file?* It does appear to be trying to run it on my Pocket PC, but nothing ever displays.
Reply With Quote
  #7  
Old 08-10-2007, 01:03 AM
Kevin Johnson Kevin Johnson is offline
Member
 
Join Date: Jul 2007
Posts: 35
Default

It should be displaying a form very quickly, and then giveing you a dialogue box propting you for a CSV file.
What kind of mobile phone do you have, and it's OS revision number? I'm using WM2005.
I can run it on my PC without any problems, so it is difficult to find the error. Another thing i am curious about is - does your computer and mobile phone have chinese language support? This also may be part of the problem.
Reply With Quote
  #8  
Old 08-10-2007, 02:18 PM
PointOfLight PointOfLight is offline
Senior Member
 
Join Date: Sep 2006
Posts: 1,197
Default

HTML Code:
 I'm actually just running a Pocket PC, not a mobile phone.* However, I would venture to say that it doesn't have Chinese support.* How can I verify that?
Reply With Quote
  #9  
Old 08-10-2007, 07:20 PM
Kevin Johnson Kevin Johnson is offline
Member
 
Join Date: Jul 2007
Posts: 35
Default

well, i included a sample data file with the distribution file. The first record is the chinese characters. If it looks like gibberish characters, or they only show up as a bunch of square boxes, ...then you do not have chinese language support.
To add chinese support download "CE Star". CE Star is basicly an IME (input method editor) for the PocketPC.
Reply With Quote
  #10  
Old 08-10-2007, 09:23 PM
PointOfLight PointOfLight is offline
Senior Member
 
Join Date: Sep 2006
Posts: 1,197
Default

HTML Code:
 Is this something that's going to be freely available?* If so, is it available yet?* To be honest I'm not real big on learning Chinese right now, simply because like Alain I just don't have the time.* However, I love checking out applications that were written in PPL.* Is this something that could basically be used with any language?
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:27 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) ArianeSoft Inc.
Copyright © 2009 www.ppl-lang.com - All rights reserved
Web Design by BR Web Consulting Ltd