EasyManuals Logo

Casio ClassPad 300 Programming Guide

Casio ClassPad 300
125 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #105 background imageLoading...
Page #105 background image
There is only one function available to convert a string to an OBCD:
int ExecuteToOBCD(const PEGCHAR *str, OBCD &obcd, BOOL bErrCheck=TRUE);
While the function does not take a CPString as an argument, you can send the buffer of a
CPString like this:
CPString str = "123.32";
ExecuteToOBCD(str.GetBuffer(), x, FALSE);
Multiple Language Support in the ClassPad
The ClassPad provides a method to easily allow you to create an add-in application with
support for multiple languages. You might have noticed that in every ClassPad add-in
that is created, the function
char *ExtensionGetLang(ID_MESSAGE MessageNo)
must be defined to at least return “”. When properly used, this function will take in a
message number of a displayed string and output the correct text for the current language.
To work correctly, there is a little setup work that must be done, but once you understand
the steps it is very easy to use.
To go step by step through creating an add-in with multiple language support we will
refer to the Hello World example add-in that came with the ClassPad 300 SDK. The add-
in is located in Documents\ClassPad 300 SDK \Examples\HelloWorld\. First, let’s run
the program and see how the text on the ClassPad changes depending on what language
you are using.
Here you see the same screen in English, Spanish and French. You’ll also notice that
there are two different text strings on the screen: “Hello” and “Hello World”.
105

Table of Contents

Other manuals for Casio ClassPad 300

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Casio ClassPad 300 and is the answer not in the manual?

Casio ClassPad 300 Specifications

General IconGeneral
BrandCasio
ModelClassPad 300
CategoryCalculator
LanguageEnglish

Related product manuals