Questions tagged [xbase]

(A) Xbase is a structured format for storing data in files and indexes. It was used originally by foxPro and dBase. (B) Xbase is an expression language provided by Xtext.

83 questions
0
votes
1 answer

How to check return type in xtext using xbase

With xtext I'm trying to develop a small language. def sum(Integer a, Integer b):Integer { return (a+b) } This is the grammar I use for this: Function: 'def' name=ValidID '('(params+=FullJvmFormalParameter (','…
tgoossens
  • 9,676
  • 2
  • 18
  • 23
0
votes
1 answer

xext grammar with chosen predicates

I am trying to understand a xtext grammar I have found (below). I have two questions: The XFeatureCall has return Type XExpression but this is overruled by {XFeatureCall} so I could set "returns XFeatureCall" as well?. Or is it actually necessary…
moin moin
  • 2,263
  • 5
  • 32
  • 51
0
votes
1 answer

NTX or NDX files edition

I think I'll give up, I was trying to edit a NTX file using XBaseJ and I got this error: org.xBaseJ.xBaseJException: Field not found t The api says org.xBaseJ Fields defined in Index do not match Fields in database But the fields are the same.…
napstercake
  • 1,815
  • 6
  • 32
  • 57
0
votes
1 answer

Xtext, Xbase: infer questions

I'm going to write an inferrer for my dsl and I have some questions that I could not solve with only the help of documentation. First one: I need to create static void main() from a feature: how can I add static with .toMethod()? Second one: Suppose…
Tommaso DS
  • 211
  • 2
  • 14
0
votes
1 answer

SQL insert query in Clipper language

I have a clipper programme in which i have many DBF files which takes care of the data that is inserted. I can able to convert DBF into SQL. Now my doubt is after converting how should i use an INSERT query in my clipper language so that i should be…
Vamsi
  • 619
  • 3
  • 9
  • 22
0
votes
2 answers

How do I read data from an xBase/Clipper file in VB6?

DBF file is in C:\dbase\clip53\PRG\stkmenu\WPACK3\ DBF file is called WPACKS.CFG (deliberately not .DBF) The VB6 code in an ActiveX EXE for opening the database and recordset: Function OpenDatabase(sFile As Variant, Optional sProvider As Variant =…
bugmagnet
  • 7,631
  • 8
  • 69
  • 131
-1
votes
1 answer

Can I use WPF in win32 application?

Our company has a software in Alaska Xbase++. I want to modernize the GUI with WPF, without rewriting the software in C#. In this Alaska Xbase++ language, I have the ability to call C/C++ functions. I beleive, it is possible to create hybrid DLL,…
Jung Ervin
  • 358
  • 1
  • 2
  • 8
-2
votes
1 answer

How to generate a super XML node

I have the following XML snippet: some data 1 some data x some data 2 some data 1
Imran Azad
  • 1,008
  • 2
  • 12
  • 30
1 2 3 4 5
6