- [ Search download ]
|
## Program Description The **Dat_Updt** program is an automated date-incrementation utility designed exclusively for the Casio fx-CP400 and fx-CG500 graphing calculators. Written in Casio Basic, this program interacts directly with global variables housed within the calculator's shared library directory, specifically tracking the date, month, year, and day of the week. When executed, the program unlocks these system-wide library variables and advances the calendar forward by exactly one day. It natively accommodates complex calendar rollovers by analyzing whether a month contains 30 or 31 days, managing the year-end transition from December 31st to January 1st, and integrating conditional modulo logic to accurately process leap years for February. Once the new numeric date is established, the program offloads calculation parameters to an optimized external helper utility named **day**. This mathematical function computes the core calendar congruence, allowing the main script to map the resulting integer to a text label, such as "Sunday" or "Monday". Ultimately, **Dat_Updt** bundles these updated parameters into a securely locked system list inside `library\DateStmp`, serving as an excellent background engine for logging and time-stamping. --- ### How to Use * **Initialize Library Variables:** Ensure that your calculator has existing values allocated to the system variables `library\Date`, `library\Month`, `library\Year`, and `library\Day` before launching the script. * **Execute the Script:** Open your calculator's program manager, select **Dat_Updt**, and run it. * **Automatic Progression:** The script will run seamlessly in the background with no manual input required. It opens the library, calculates the next chronological calendar date, and maps the correct weekday text string. * **Verify Outputs:** Once execution completes, you can call or inspect `library\DateStmp` to retrieve a securely locked, updated data list containing the new date matrix: `[[Date, Month, Year, Day]]`. --- ### Precautions for Placing the `day` Function in a Folder Because **Dat_UpdF-(Program).xcp** relies entirely on an external execution pass to the custom function **day-(Function).xcp**, directory organization is critical: * **Directory Matching:** By default, Casio Basic looks for the called function within the active folder directory or root library paths. Both **Dat_UpdF-(Program).xcp** and **day-(Function).xcp** should ideally sit in the same folder directory to avoid broken path links. * **Undefined Function Errors:** If you choose to isolate **day-(Function).xcp** inside a specific subfolder (e.g., a folder named `UTILITIES`), running the updater program will instantly crash with an "Undefined variable or function" error message. --- Since this programme is still under development, feel free to contact for any suggestions, comments, and bugs to me. ### Disclaimer > **Notice:** This software utility is provided "as-is" for personal optimization, calendar tracking, and educational programming on supported Casio ClassPad architectures. While it features explicit logic for handling leap years and variable month lengths, it should not be relied upon as a critical system clock replacement. Always backup your localized calculator directory data before modifying shared system library structures. > > |
Legend
| Not enough posts (0 posts required). | Download! | Download! External source. | Free download for registered users | New download | Updated download |
There are overall 184 downloads with a size of 66.55 MiB / 10 GiB. This includes 10 external downloads.
Download MOD © by Hotschi, Demolition Fabi, OXPUS •
Download MOD English language © by OXPUS • RSS Feed

You are in: