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 #117 background imageLoading...
Page #117 background image
return MEM_ERR;
}
To set the current folder, you just need the name of the folder:
CP_CHAR folderName[] = "FOLDER1";
UCHAR *pucManagementTopAddress;
UCHAR ucFolderNumber;
if(BMCSSetCurrentFolder(folderName,pucManagementTopAddress,
&ucFolderNumber) != 0)
{
return MEM_ERR;
}
Searching for a Folder
Unlike with variables, there is only one function that is used to search for a folder. It is
declared as:
int BMCSSearchFolder(CP_CHAR *pcpcFolderName, UCHAR **ppManTopAdr,
UCHAR *pucFolderNumber)
To search, you just need to pass the name of the folder that you are looking for:
// To search "FOLDER1".
CP_CHAR pcpcFolderName[] = "FOLDER1";
UCHAR *pucManagementTopAddress;
UCHAR ucFolderNumber;
if(BMCSSearchFolder(pcpcFolderName, &pucManagementTopAddress,
&ucFolderNumber) != 0)
{
return MEM_ERR;
}
Reading/Writing to MCS using the CPFile Class
Most of the time when you save something in MCS you want to save more than a single
variable. For example, in the AddressBook example that comes with the SDK, all of a
user’s contacts must be saved out to and read in from a single file. To accomplish this,
we use the CPFile classes.
The CPFile class hierarchy looks like this:
117

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