Jump to content
Nytro

Welcome To code:zIRON

Recommended Posts

Posted

Welcome To code:zIRON

Ziron is a mixed high and low level programming language; but unlike other high level compilers, Ziron directly assembles the high level code into machine code. Ziron is intended to allow advanced programmers to write highly optimised code, but also for new and beginners to take a step into the world of assembly programming without the worry of a low level syntax.

(Sample) Building Blocks (structures):

program WIN32CUI 'test';

#include 'ch.zir';
#include 'fileio.zir';

////////
const strFileName = 'text.txt';
ZFile file;
char buf[512];
/////

inline procedure doFileOperation() {
file.writeBuffer('Hello, World!\r\n');

file.setSOF();

file.readBuffer(@buf, 512);
file.close();
print(@buf);
}

if (file.append(strFileName) == True) {
print('Appending file "', strFileName, '"\r\n');

doFileOperation();
} else {
print('Creating file "', strFileName, '"\r\n');

if (file.create(strFileName) == True) {
doFileOperation();
} else {
print('Unable to create file "', strFileName, '"\r\n');
}
}

wait_key();
ExitProcess(0);

Mai multe:

http://www.codeziron.com/index.php

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...