If the Gedcom file is malformed or has blank lines, this may be the case. The check for rm = nil hits whenever the line does not contain at least a number, a blank and at least one more character. It can be used just for fun, distribution in compiled apps, or as a learning tool to discover what Xojo and other languages must be doing underneath. The parentheses around each of these groups is for extracting their results with SubExpression() then. ALE is a tool which Xojo developers can use to write assembly language in their applications.
XOJO FORUM UPDATE
We got an update on the WebKit library for Windows, so a few websites may no longer complain about older browser engine. While part of the team is hard at work for Android to come in a later release, other engineers had plenty of time working on a lot of little things. The RegEx search pattern means that it looks for the start of the line ("^"), then for one or more digits ("\d"), a blank, one or more non-blank chars (""), and finally any more chars (".") before the end of the string ("$"). The new Xojo release showed up and it brings us over 130 bug fixes, 40 changes and and a few new things. Is this correct?ĭim level as Integer = rm.SubExpressionString(1).Valĭim code as String = rm.SubExpressionString(2)ĭim value as String = rm.SubExpressionString(3).Trim A fee-based IDE would be one thing if Xojo were competing only with Microsoft Visual BASIC. Parse every line using RegEx to extract its 3 columns dim re as new RegEx Xojo is now available as a free download, but it is my understanding that serious work still requires payment of the Xojo Pro license fee. ĭim fileContent as String = TextInputStream.Open(f).ReadAllįileContent = fileContent.DefineEncoding (Encodings.WindowsLatin1)ĭim lines() as String = ReplaceLineEndings(fileContent,EndOfLine).Split(EndOfLine) Read the entire file into a String and split the lines up: dim f as FolderItem =.
![xojo forum xojo forum](https://forum.xojo.com/uploads/default/original/2X/8/8c30ca730b61d7388f6e2c59a9497f89749ce2cb.png)
To parse the Gedcom lines with a good speed, try these ideas:
XOJO FORUM HOW TO
But i don't know how to create such an Algorithm. Later on, i can simple read the Nodes, Child-Nodes to create the Database-Entries. The order below is the order in which we currently believe we will deliver these features. Below is a highly summarized version of the big feature items on our roadmap.
![xojo forum xojo forum](https://forum.xojo.com/uploads/default/original/2X/1/14e20d3002315ee8a7ce94ccdec9f7df1698d6f0.png)
So i thought it would be the best and simplest way to parse the File into separated Objects (PersonObj, RelationshipObj, EventObj etc.) into a JSONItem, because there its easy to get the Childs of a Node. Because we recognize that you depend on Xojo for your development, we are making a product roadmap available to you. You'll see, the Level-Numbers shows us a "Tree-Structure". Gedcom-Individual-Sample 0 INDIĢ PLAC Lexington, Fayette County, Kentucky, USA I load the Gedcom-File via TextInputStream (working fine). He splits a single Gedcomline into: - Level As Integer Structure of the Database Tables Persons - ID: Integer I wanna import a Gedcom-File to my Program, espacially to a SQLite-Database.