ChatGPT And Omnis Studio

Thad Bogert thad at technosolver.com
Tue Feb 14 21:57:43 UTC 2023


At lunch today, I thought I’d play around with ChatGPT.  The following conversation happened.


##########
ME:
Tell me about Omnis Studio.

CHATGPT:
Omnis Studio is a rapid application development (RAD) tool used for creating cross-platform desktop, web, and mobile applications. It allows developers to create applications using a visual development environment, as well as a programming language called Omnis Basic, which is similar to Basic and Pascal. Omnis Studio also provides built-in database connectivity, an object-oriented programming model, and a customizable user interface. It supports Windows, macOS, Linux, and a variety of mobile platforms, and is widely used in business and enterprise applications.

ME:
What sources did you use for this information?

CHATGPT:
As an AI language model, I have been trained on a vast amount of text data from the internet, including articles, documentation, and other sources related to technology and software development. For my answer about Omnis Studio, I drew on my understanding of this subject matter, which is based on my analysis of many such sources, including Omnis Studio's official website, online user forums, software review sites, and other technical resources.

ME:
Do you know how to program in Omnis?

CHATGPT:
Yes, as an AI language model, I am capable of understanding and writing code in Omnis Basic, the programming language used in Omnis Studio. However, my primary function is to provide information and answer questions to the best of my abilities. If you have a specific programming question or need help with an Omnis project, it would be best to consult with an experienced Omnis developer or refer to the Omnis Studio documentation and resources.

ME:
Using Omnis Basic, write a program that splits a full name into three variables.

CHATGPT:
Certainly! Here is an example Omnis Basic program that splits a full name into three variables:

-----
Calculate lvFullName as 'John Doe Smith'
Calculate lvNames.$split(lvFullName,' ') Returns lvSplitNames

Calculate lvFirstName as lvSplitNames{1}
Calculate lvMiddleName as lvSplitNames{2}
Calculate lvLastName as lvSplitNames{3}

;Display the results
Do $clib.$message('First Name: ' || lvFirstName || '\r' || 'Middle Name: ' || lvMiddleName || '\r' || 'Last Name: ' || lvLastName) Returns lSuccess
-----
##########


Obviously there are multiple syntax errors as well as issues with notation and function calls, but it’s surprising to see what it came up with. I was impressed with the use of the split() function.

It seems to have borrowed some code from other languages.  And in the chat, the syntax highlighting indicated that it was using a PHP formatter.

But I have to wonder what it would be capable of writing with a bit of training. 



"We will add your biological and technological distinctiveness to our own.”
— The Borg


More information about the omnisdev-en mailing list